import { IArticle, ITag, IList } from '@/interface'

export class InitData {
  total: number = 0
  hasMore: boolean = true
  currentTagId: number = 1
  currentTagName: string = ''
  articleList: IArticle[] = []
  articleListParams: IList = {
    orderName: 'created_at',
    orderBy: 'desc',
    nowPage: 1,
    pageSize: 3
  }

  tagList: ITag[] = []

  tagListParams: IList = {
    nowPage: 1,
    pageSize: 100
  }
}
